﻿<Window x:Class="Wpf3DExample.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Data3dDictionary.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid>
        <Viewport3D Width="572" Height="312">
            <Viewport3D.Camera>
                <PerspectiveCamera
                           FieldOfView="45" 
                           FarPlaneDistance="100" 
                           LookDirection="-0.857,-0.803,-0.782" 
                           NearPlaneDistance="0.1" 
                           Position="5.002,4.788,4.638"                            
                           UpDirection="0,0,1"/>
            </Viewport3D.Camera>

            <ContainerUIElement3D>
                <ModelUIElement3D Model="{StaticResource ScenetestScene_max}" >

                </ModelUIElement3D>
            </ContainerUIElement3D>
        </Viewport3D>
    </Grid>
</Window>
